package com.y.architecture.polliing;

/**
 * Created by youjingjing on 2017/12/12.
 */

public abstract class PollingRequest {

    //每个Subject的唯一标识
    protected String tag;


    protected PollingAction pollingAction;

    public PollingRequest(String tag, PollingAction pollingAction) {
        this.tag = tag;

        this.pollingAction = pollingAction;
    }


//    public abstract Disposable execute(PollingManager pollingManager);

    public String getTag() {
        return tag;
    }


}



